'use strict';
const path = require('path');
/** @type Egg.EggPlugin */
module.exports = {
    // had enabled by egg
    static: {
        enable: true,
    },
    nunjucks: {
        enable: true,
        package: "egg-view-nunjucks"
    },
    //自定义插件
    ua: {
        enable: true,
        path: path.join(__dirname, "../lib/plugin/egg-ua")
    },
    mysql: {
        enable: true,
        package: 'egg-mysql',
    },
    //orm 操作库
    sequelize: {
        enable: true,
        package: 'egg-sequelize',
    },
    //安全相关
    security: {
        csrf: {
            enable: false,
        },
    }
    //数据库插件


};